package com.webSocket.test.Controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("myTest")
public class MyController {

    @RequestMapping("login")
    public String login(String userName, Model model){
        model.addAttribute("userName",userName);
        return "test/SocketTest";
    }


}
